package com.bolt.support.query.conditions.domain;


/**
 * Created by Administrator on 2019/1/25.
 */
/** 属性匹配比较类型. */
public enum MatchType {
    /** "name": "bk", "description": "is blank", "operator":"IS NULL OR ==''" */
    BK,

    /** "name": "nb", "description": "is not blank", "operator":"IS NOT NULL AND !=''" */
    NB,

    /** "name": "nu", "description": "is null", "operator":"IS NULL" */
    NU,

    /** "name": "nn", "description": "is not null", "operator":"IS NOT NULL" */
    NN,

    /** "name": "in", "description": "in", "operator":"IN" */
    IN,

    /** "name": "ni", "description": "not in", "operator":"NOT IN" */
    NI,

    /** "name": "ne", "description": "not equal", "operator":"<>" */
    NE,

    /** "name": "eq", "description": "equal", "operator":"=" */
    EQ,

    /** "name": "cn", "description": "contains", "operator":"LIKE %abc%" */
    CN,

    /**
     * "name": "nc", "description": "does not contain",
     * "operator":"NOT LIKE %abc%"
     */
    NC,

    /** "name": "bw", "description": "begins with", "operator":"LIKE abc%" */
    BW,

    /**
     * "name": "bn", "description": "does not begin with",
     * "operator":"NOT LIKE abc%"
     */
    BN,

    /** "name": "ew", "description": "ends with", "operator":"LIKE %abc" */
    EW,

    /**
     * "name": "en", "description": "does not end with",
     * "operator":"NOT LIKE %abc"
     */
    EN,

    /** "name": "bt", "description": "between", "operator":"BETWEEN 1 AND 2" */
    BT,

    /** "name": "nbt", "description": "NOT between", "operator":"NOT BETWEEN 1 AND 2" */
    NBT,

    /** "name": "lt", "description": "less", "operator":"小于" */
    LT,

    /** "name": "gt", "description": "greater", "operator":"大于" */
    GT,

    /** "name": "le", "description": "less or equal","operator":"<=" */
    LE,

    /** "name": "instr", "description": "instr(address, 'beijing') > 0 */
    CONTAINS,

    /** "name": "ge", "description": "greater or equal", "operator":">=" */
    GE,

    /** @see javax.persistence.criteria.Fetch */
    FETCH,

    /** Property Less Equal: <= */
    PLE,

    /** Property Less Than: < */
    PLT,

    ACLPREFIXS;
}
